package org.wedding.center.util;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * 日志封装类
 *
 * @author sky
 * @since 2025-04-29 17:31:49
 */
public class LogUtil {

    public final static String ELAPSE_TIME = "，耗时：{}ms";

    public static Logger get() {
        StackTraceElement[] stackTrace = Thread.currentThread().getStackTrace();
        return LoggerFactory.getLogger(stackTrace[2].getClassName());
    }
}
